package nospring;

public class StudentServiceI implements StudentService {

    private StudentDao sd = new StudentDaoI();//通过构造方法实例化对象

    public Student getStudent() {
        return sd.get();
    }
}
